package com.java.vue.dao;

import com.java.vue.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * description:
 * author:张腾
 * date:2021-02-10
 */

@Mapper
public interface UserDao {

    void save(User user);
    void update(User user);
    void delete(long id);
    List<User> findAll();
    User findById(long id);
}
